package com.lilili.ssh.relation.action;

import org.springframework.beans.factory.annotation.Autowired;

import com.lilili.ssh.base.BaseAction;
import com.lilili.ssh.login.model.SysInfo;
import com.lilili.ssh.login.service.LoginManager;
import com.lilili.ssh.relation.model.Relation;
import com.lilili.ssh.relation.service.RelationManager;
import com.lilili.ssh.user.model.User;

public class RelationAction extends BaseAction{

	@Autowired
	RelationManager RelationManager;
	private Relation relation;
	
	public Relation getRelation() {
		return relation;
	}
	public void setRelation(Relation relation) {
		this.relation = relation;
	}

	public String chkRelation(){

		return this.INPUT;
	}
	
	public String exit(){
		this.getRequest().getSession().invalidate();
		return this.Result("index.jsp");
	}
	
}
